{extend name="main/index" /}
{block name="main"}

<!-- Start right content -->
        <div class="content-page">
			<!-- ============================================================== -->
			<!-- Start Content here -->
			<!-- ============================================================== -->
            <div class="content">
								<!-- Page Heading Start -->
				<div class="page-heading">
            		<h1><i class='fa fa-check'></i>{$title}</h1>
            		            	</div>
            	<!-- Page Heading End-->	
								
				<!-- Your awesome content goes here -->
				<div class="row">
					<div class="col-sm-3 portlets">
					</div>
					<div class="col-sm-6 portlets">
						
						<div class="widget">
							<div class="widget-header transparent">
								<h2><strong>{$content}</strong> Form</h2>
								<div class="additional-btn">
									<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
									<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
									<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
								</div>
							</div>
							<div class="widget-content padding">						
								<div id="horizontal-form">
									<form class="form-horizontal" role="form" action="{:url('admin/Node/doadd')}" method="post">
									  <div class="form-group">
										<label for="inputEmail3" class="col-sm-2 control-label">权限名</label>
										<div class="col-sm-10">
										  <input type="text" class="form-control" id="inputEmail3" placeholder="权限名" name="name">
										 	<p>权限名为2-26位中文汉字</p>
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputEmail3" class="col-sm-2 control-label">控制器</label>
										<div class="col-sm-10">
										  <input type="text" class="form-control" id="inputEmail3" placeholder="控制器" name="mname">
										  <p>控制器名为2-20位英文字母</p>
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputPassword3" class="col-sm-2 control-label">方法名</label>
										<div class="col-sm-10">
										  <input type="text" class="form-control" id="inputPassword3" placeholder="方法名" name="aname">
										  <p>方法名为2-20位英文字母</p>
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputPassword3" class="col-sm-2 control-label">状态</label>
										<div class="col-sm-10">
										  <select class="form-control" name="status">
										
										    <option value='1'>启用</option>
										    <option value='0'>禁用</option>
										    
										  </select>
										  
										</div>
									  </div>
									  
									  <div class="form-group">
										<div class="col-sm-offset-2 col-sm-10">
										  <button type="submit" class="btn btn-default">确认添加</button>
										</div>
									  </div>
									</form>
								</div>
							</div>
						</div>
						
					</div>

					<div class="col-sm-3 portlets">
					</div>
					
				</div>
				
				


{/block}